package com.click369.crm.controller;

import org.springframework.stereotype.Controller;

import com.click369.crm.common.ResultVo;
import com.click369.crm.pojo.QueryVO;

@Controller
public interface BaseController<T> {
	//添加
	public ResultVo save(T t);
	//根据id删除
	public ResultVo delete(Integer id);
	//修改
	public ResultVo update(T t);
	//查询所有分页
	public ResultVo select(Integer page,Integer rows,T t);
	//根据id查询
	public ResultVo getById(Integer id);
	
}
